//
// Created by xiaozhuai on 17/4/28.
//

#include <ez_test.h>
#include <string>

using namespace std;

EZ_TEST{
    // These test will pass
    EZ_ASSERT(string("0123456789").substr(0,3) == string("012"));
    EZ_ASSERT_EQUAL(string("0123456789").substr(1,5), string("12345"));

    // These test will not pass
    EZ_ASSERT(string("0123456789").substr(5,1) == string("56"));
}